package com.example.demo.service;

import com.example.demo.dao.IDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service("DaoService")
public class DaoService implements IDaoService{

    @Autowired
    private IDao myDao;

    @Override
    public List<Map<String, Object>> getAll() {
        return this.myDao.getAll();
    }

}
